/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ie.tcd.cs.railtickets.server.dao;

import ie.tcd.cs.railtickets.server.dao.impl.AgentDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.PathTimeDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.RouteDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.RouteStationDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.RouteTimeDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.SeatStateDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.StationDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.TicketDAOImpl;
import ie.tcd.cs.railtickets.server.dao.impl.TravelPathDAOImpl;

/**
 *
 * @author Wenbo Sun
 */
public class DAOFactory {

    public static RouteDAO createRouteDAO() {
        return new RouteDAOImpl();
    }

    public static StationDAO createStationDAO() {
        return new StationDAOImpl();
    }

    public static TravelPathDAO createTravelPathDAO() {
        return new TravelPathDAOImpl();
    }

    public static RouteTimeDAO createRouteTimeDAO() {
        return new RouteTimeDAOImpl();
    }

    public static PathTimeDAO createPathTimeDAO() {
        return new PathTimeDAOImpl();
    }

    public static SeatStateDAO createSeatStateDAO() {
        return new SeatStateDAOImpl();
    }

    public static TicketDAO createTicketDAO() {
        return new TicketDAOImpl();
    }

    public static RouteStationDAO createRouteStationDAO() {
        return new RouteStationDAOImpl();
    }

    public static AgentDAO createAgentDAO() {
        return new AgentDAOImpl();
    }
}
